<?xml version="1.0" encoding="utf-8" ?>
<xsl:stylesheet version="1.0" exclude-result-prefixes="x d cmswrt xsl msxsl" xmlns:x="http://www.w3.org/2001/XMLSchema" xmlns:d="http://schemas.microsoft.com/sharepoint/dsp" xmlns:cmswrt="http://schemas.microsoft.com/WebPart/v3/Publishing/runtime" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt">
	<xsl:output method="html" indent="no" />

	<xsl:template match="/">
    <div id="headMenuBox">
      <ul>
        <xsl:apply-templates select="Variations/Variation[@IsSource != 'True']" />
      </ul>
    </div>
  </xsl:template>

  <xsl:template match="Variations/Variation">
    <li class="bm_no_header_menu">
			<a>
			  <xsl:attribute name="href">
					<xsl:value-of select="@Url" />
				</xsl:attribute>
				<xsl:choose>
					<xsl:when test="@isCurrent = 'True'">
						<xsl:text>-</xsl:text>
						<xsl:value-of select="@DisplayName" />
						<xsl:text>-</xsl:text>
					</xsl:when>
					<xsl:otherwise>
						<xsl:value-of select="@DisplayName" />
					</xsl:otherwise>
				</xsl:choose>
			</a>
			<xsl:if test="position() != last() or position() = 1">
				<span class="delimiter">|</span>
			</xsl:if>
		</li>
	</xsl:template>

</xsl:stylesheet>
